From c04fbf58558de544b96c861bb88293524fa30afc Mon Sep 17 00:00:00 2001 From: "Dennis Lan (dlan)" Date: Wed, 4 Dec 2013 14:37:25 +0000 Subject: [PATCH] xen: arm64: clear boot_first instead of boot_pgtable twice Signed-off-by: Lan Yixun (dlan) Acked-by: Ian Campbell --- xen/arch/arm/mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c index e6753fee6e..399e54652d 100644 --- a/xen/arch/arm/mm.c +++ b/xen/arch/arm/mm.c @@ -470,7 +470,7 @@ void __init setup_pagetables(unsigned long boot_phys_offset, paddr_t xen_paddr) memset(boot_pgtable, 0x0, PAGE_SIZE); flush_xen_dcache(boot_pgtable); #ifdef CONFIG_ARM_64 - memset(boot_pgtable, 0x0, PAGE_SIZE); + memset(boot_first, 0x0, PAGE_SIZE); flush_xen_dcache(boot_first); #endif memset(boot_second, 0x0, PAGE_SIZE); -- 2.30.2